
    import axios from "./axios"

     const get = <T>(url: string, params: any) => axios<T>({
      method: 'get',
      url: url,
      params: params
     })

    const post = <T>(url: string, params: any) => axios<T>({
      method: 'post',
      url: url,
      data: params
    })
    const request = {
      get,
      post,
    }

export default request
    
    